<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:template match="/">
		<infopost-request>
			<xsl:for-each select="ABCB2I">
				<request-head>
					<xsl:for-each select="Header">
						<trans-id>
							<xsl:value-of select="SerialNo" />
						</trans-id>
						<trans-type>106</trans-type>
						<insu-id>
							<xsl:value-of select="CorpNo" />
						</insu-id>
						<trans-date>
							<xsl:value-of select="TransDate" />
						</trans-date>
						<trans-time>
							<xsl:value-of select="TransTime" />
						</trans-time>
						<area>
							<xsl:value-of select="ProvCode" />
						</area>
						<bank>203</bank>
						<branch>
							<xsl:value-of select="BranchNo" />
						</branch>
						<post>
							<xsl:value-of select="BranchNo" />
						</post>
						<agency-hand />
						<authorized />
						<column1>
							<xsl:value-of select="TransCode" />
						</column1>
						<column2>
							<xsl:value-of select="TransSide" />
						</column2>
						<column3>
							<xsl:value-of select="EntrustWay" />
						</column3>
					</xsl:for-each>
				</request-head>
				<request-policy-query>
					<policy-query>
						<xsl:for-each select="App">
							<xsl:for-each select="Req">
								<policy-code>
									<xsl:value-of select="PolicyNo" />
								</policy-code>
								<product-code>
									<xsl:value-of select="RiskCode" />
								</product-code>
								<policy-password>
									<xsl:value-of select="Policypwd" />
								</policy-password>
							</xsl:for-each>
						</xsl:for-each>
					</policy-query>
				</request-policy-query>
			</xsl:for-each>
		</infopost-request>
	</xsl:template>
</xsl:stylesheet>
